/**
 * 二级页
 */

// -------------------------------二级页------------------------------------


if(location.href=="http://gxt.jl.gov.cn/gxdt1/"){
// 工信动态

	$(".main .links select:eq(0)").attr("title","市州工信局");
	$(".main .links select:eq(1)").attr("title","友情链接");
	$(".main .links select:eq(2)").attr("title","全国工信系统");	
	$(".main .links select:eq(3)").attr("title","省政府部门");
	
	
// 导航后的第一个a
_EsdDynamicTransformationScript.esdNavTag1 = $(".main a:eq(0)");


// 轮播前的标签
 _EsdDynamicTransformationScript.esd2TagFrontNum1 = $(".main .itembox02 .gxdt .tit a:eq(0)");

// 文字A标签
 _EsdDynamicTransformationScript.esd2TagANum1 = $(".main .itembox02 .gxdt .bm .left .txt ul li:eq(0) a");
 _EsdDynamicTransformationScript.esd2TagANum2 = $(".main .itembox02 .gxdt .bm .left .txt ul li:eq(1) a");
 _EsdDynamicTransformationScript.esd2TagANum3 = $(".main .itembox02 .gxdt .bm .left .txt ul li:eq(2) a");
 _EsdDynamicTransformationScript.esd2TagANum4 = $(".main .itembox02 .gxdt .bm .left .txt ul li:eq(3) a");
 _EsdDynamicTransformationScript.esd2TagANum5 = $(".main .itembox02 .gxdt .bm .left .txt ul li:eq(4) a");

// 原点
 _EsdDynamicTransformationScript.esd2TagCircleNum1 = $(".main .itembox02 .gxdt .bm .left .num li:eq(0)");
 _EsdDynamicTransformationScript.esd2TagCircleNum2 = $(".main .itembox02 .gxdt .bm .left .num li:eq(1)");
 _EsdDynamicTransformationScript.esd2TagCircleNum3 = $(".main .itembox02 .gxdt .bm .left .num li:eq(2)");
 _EsdDynamicTransformationScript.esd2TagCircleNum4 = $(".main .itembox02 .gxdt .bm .left .num li:eq(3)");
 _EsdDynamicTransformationScript.esd2TagCircleNum5 = $(".main .itembox02 .gxdt .bm .left .num li:eq(4)");

// 轮播后的标签
 _EsdDynamicTransformationScript.esd2TagFrontNum2 = $(".main .itembox02 .gxdt .bm .right a:eq(0)");


	// 轮播前的焦点
	_EsdDynamicTransformationScript.esd2TagFrontNum1.focus(function (e) {
		$(this).mouseover();
		$(this).bind("keydown.keydown2_0", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$(_EsdDynamicTransformationScript.nav6.focusObjSelector).mouseover();
				$(_EsdDynamicTransformationScript.nav6.listElementsSelector).last().focus();
				return false;
			}else if (e.keyCode == 9) {
				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd2TagFrontNum1.mouseover();
				_EsdDynamicTransformationScript.esd2TagCircleNum1.click();
				_EsdDynamicTransformationScript.esd2TagANum1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagFrontNum1.blur(function () {
		$(this).unbind("keydown.keydown2_0");
	});
	
	

	// 第一块
	_EsdDynamicTransformationScript.esd2TagANum1.focus(function (e) {
		
		$(this).bind("keydown.keydown2_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagFrontNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagCircleNum2.click();
				_EsdDynamicTransformationScript.esd2TagANum2.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum1.blur(function () {
		$(this).unbind("keydown.keydown2_1");
	});

	// 第二块
	_EsdDynamicTransformationScript.esd2TagANum2.focus(function (e) {
		
		$(this).bind("keydown.keydown2_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagCircleNum1.click();
				_EsdDynamicTransformationScript.esd2TagANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagCircleNum3.click();
				_EsdDynamicTransformationScript.esd2TagANum3.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum2.blur(function () {
		$(this).unbind("keydown.keydown2_2");
	});
	
	// 第三块
	_EsdDynamicTransformationScript.esd2TagANum3.focus(function (e) {
		
		$(this).bind("keydown.keydown2_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagCircleNum2.click();
				_EsdDynamicTransformationScript.esd2TagANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagCircleNum4.click();
				_EsdDynamicTransformationScript.esd2TagANum4.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum3.blur(function () {
		$(this).unbind("keydown.keydown2_3");
	});
	
	// 第四块
	_EsdDynamicTransformationScript.esd2TagANum4.focus(function (e) {
		
		$(this).bind("keydown.keydown2_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagCircleNum3.click();
				_EsdDynamicTransformationScript.esd2TagANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagCircleNum5.click();
				_EsdDynamicTransformationScript.esd2TagANum5.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum4.blur(function () {
		$(this).unbind("keydown.keydown2_4");
	});
	
	// 第五块
	_EsdDynamicTransformationScript.esd2TagANum5.focus(function (e) {
		
		$(this).bind("keydown.keydown2_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagCircleNum4.click();
				_EsdDynamicTransformationScript.esd2TagANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagFrontNum2.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagANum5.blur(function () {
		$(this).unbind("keydown.keydown2_5");
	});
	
// 轮播后的焦点
	
	_EsdDynamicTransformationScript.esd2TagFrontNum2.focus(function (e) {
		
		$(this).bind("keydown.keydown2_6", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagCircleNum5.click();
				_EsdDynamicTransformationScript.esd2TagANum5.focus();
				return false;
			}else if (e.keyCode == 9) {

			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagFrontNum2.blur(function () {
		$(this).unbind("keydown.keydown2_6");
	});
	
	
	


// 将iframe所包含的a链接数 第一个a元素 最后一个a元素赋值给第一个参数的js对象
_EsdDynamicTransformationScript.getIframeInfos = function(jsObj,iframeObj){
	jsObj.aLink_num = iframeObj.contentWindow.document.getElementsByTagName("a").length;
	jsObj.first_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[0];
	jsObj.last_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[jsObj.aLink_num-1];
	jsObj.self = iframeObj;
};

// 声明iframe操作对象
_EsdDynamicTransformationScript.iframe1 = {};
_EsdDynamicTransformationScript.iframe2 = {};

//通过方法赋值
_EsdDynamicTransformationScript.iframeElement1 = document.getElementsByTagName("iframe")[0];   // 需要修改 这里的iframe获取
_EsdDynamicTransformationScript.iframeElement2 = document.getElementsByTagName("iframe")[1];   // 需要修改 这里的iframe获取


// 选项卡标签 jquery对象
_EsdDynamicTransformationScript.iframeTab1 = $(".itembox02r .zyxxzzbox .zz .xtit .hd ul li:eq(0) a");  // 需要修改
																										// 这里的tab获取
_EsdDynamicTransformationScript.iframeTab2 = $(".itembox02r .zyxxzzbox .zz .xtit .hd ul li:eq(1) a");  // 需要修改
																										// 这里的tab获取

//判断iframe是否有效
if((_EsdDynamicTransformationScript.iframeElement1!=undefined) && (_EsdDynamicTransformationScript.iframeElement2!=undefined)){

	// 当iframe都加载完毕后执行代码 使用setInterval
	_EsdDynamicTransformationScript.iframeInterval = setInterval(function(){	
		
		if((_EsdDynamicTransformationScript.iframeElement1.contentWindow.document.getElementsByTagName("a")[0]!=undefined) 
				&& (_EsdDynamicTransformationScript.iframeElement2.contentWindow.document.getElementsByTagName("a")[0]!=undefined) ){
			clearInterval(_EsdDynamicTransformationScript.iframeInterval);
			
			//通过方法赋值   
			_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe1,_EsdDynamicTransformationScript.iframeElement1);  
			_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe2,_EsdDynamicTransformationScript.iframeElement2); 


			// 第一个标签 切换
			_EsdDynamicTransformationScript.iframeTab1.focus(function (e) {
			    console.log("tab1获取到焦点");
			    e = $(this).mouseover();
			    $(this).bind("keydown.iframeKeydown_1", function (e) {
			        if (e.shiftKey && e.keyCode == 9) {
						console.log("tab1向回切换");
//			            $(this).trigger("blur");
			        } else if (e.keyCode == 9) {
			            console.log("tab1继续切换到iframe上");
			            $(this).trigger("blur");
			            $(_EsdDynamicTransformationScript.iframe1.self).focus();
			            console.log(document.activeElement);
			            return false;
			        }
			    });
			});
			_EsdDynamicTransformationScript.iframeTab1.blur(function () {
			    $(this).unbind("keydown.iframeKeydown_1");
			});
			
			// 第一个标签的第一个链接
			$(_EsdDynamicTransformationScript.iframe1.first_aLink).focus(function () {
			    console.log("第一个iframe的第一条获得焦点");
			    $(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
			        if (e.shiftKey && e.keyCode == 9) {
						console.log("第一个iframe的第一条向上切换");
			            $(this).trigger("blur");
			            _EsdDynamicTransformationScript.iframeTab1.focus();
			            return false;
			        } else if (e.keyCode == 9) {
						console.log("第一个iframe的第一条继续切换");
			        }
			    });
			});
			$(_EsdDynamicTransformationScript.iframe1.first_aLink).blur(function () {
			    $(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
			});
			
			// 第一个标签的最后一个链接
			$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus(function () {
			    console.log("第一个iframe的最后一条获得焦点");
			    $(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_last1", function (e) {
			        if (e.shiftKey && e.keyCode == 9) {
						console.log("第一个iframe的最后一条向上切换");
			        } else if (e.keyCode == 9) {
						console.log("第一个iframe的最后一条继续切换 到下一个标签");
						 $(this).trigger("blur");
			            _EsdDynamicTransformationScript.iframeTab2.focus();
			            return false;
			        }
			    });
			});
			$(_EsdDynamicTransformationScript.iframe1.last_aLink).blur(function () {
			    $(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_last1");
			});
			
			
			// 第二个标签切换
			_EsdDynamicTransformationScript.iframeTab2.focus(function (e) {
			    console.log("tab2获取到焦点");
			    e = $(this).mouseover();
			    $(this).bind("keydown.iframeKeydown_2", function (e) {
			        if (e.shiftKey && e.keyCode == 9) {
						console.log("第二个标签向回切换 到第一个标签的最后一条");
			            
			            _EsdDynamicTransformationScript.iframeTab1.mouseover();
			            $(_EsdDynamicTransformationScript.iframe1.last_aLink).focus();
			            return false;
			        } else if (e.keyCode == 9) {
			            $(this).trigger("blur");
			            $(_EsdDynamicTransformationScript.iframe2.self).focus();
			            console.log(document.activeElement);
			            return false;
			        }
			    });
			
			});
			_EsdDynamicTransformationScript.iframeTab2.blur(function () {
			    $(this).unbind("keydown.iframeKeydown_2");
			});

		}
		
	}, 500);

}

// 三级选项卡

	// 各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num4 = $(".itembox02l .nynewbox .bd .slidebox:eq(0) ul a").length-1;
	 _EsdDynamicTransformationScript.num5 = $(".itembox02l .nynewbox .bd .slidebox:eq(1) ul a").length-1;
	 _EsdDynamicTransformationScript.num6 = $(".itembox02l .nynewbox .bd .slidebox:eq(2) ul a").length-1;
	
	// 各个选项名称
	 _EsdDynamicTransformationScript.esd3TagNum1 = $(".itembox02l .nynewbox .tit .hd ul li:eq(0) a");
	 _EsdDynamicTransformationScript.esd3TagNum2 = $(".itembox02l .nynewbox .tit .hd ul li:eq(1) a");
	 _EsdDynamicTransformationScript.esd3TagNum3 = $(".itembox02l .nynewbox .tit .hd ul li:eq(2) a");
	
	// 各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".itembox02l .nynewbox .bd .slidebox:eq(0) ul a:eq(0)");
	 _EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".itembox02l .nynewbox .bd .slidebox:eq(1) ul a:eq(0)");
	 _EsdDynamicTransformationScript.esd3TagNum3Content1 = $(".itembox02l .nynewbox .bd .slidebox:eq(2) ul a:eq(0)");
	
	// 各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".itembox02l .nynewbox .bd .slidebox:eq(0) ul a:eq("+_EsdDynamicTransformationScript.num4+")");
	 _EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".itembox02l .nynewbox .bd .slidebox:eq(1) ul a:eq("+_EsdDynamicTransformationScript.num5+")");
	 _EsdDynamicTransformationScript.esd3TagNum3ContentN = $(".itembox02l .nynewbox .bd .slidebox:eq(2) ul a:eq("+_EsdDynamicTransformationScript.num6+")");
	
	// 第一块
	_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown3_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
// $(this).trigger("blur");
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
		$(this).unbind("keydown.keydown3_1");
	});

	_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown3_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
// 				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown3_s1");
	});

	_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown3_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
//				$(this).trigger("blur");
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown3_e1");
	});
	// 第二块
	_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
		console.log(2);
		e = $(this).mouseover();
		$(this).bind("keydown.keydown3_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
// $(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
		$(this).unbind("keydown.keydown3_2");
	});

	_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown3_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
// $(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum2.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
			}
		});
	});

	_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown3_s2");
	});

	_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
		$(this).bind("keydown.keydown3_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
//				$(this).trigger("blur");
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
		$(this).unbind("keydown.keydown3_e2");
	});
	
	// 第三块
	_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown3_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
// $(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
		$(this).unbind("keydown.keydown3_3");
	});
	
	_EsdDynamicTransformationScript.esd3TagNum3Content1.focus(function () {
		$(this).bind("keydown.keydown3_s3", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
// $(this).trigger("blur");
				_EsdDynamicTransformationScript.esd3TagNum3.focus();
				return false;
			}else if (e.keyCode == 9) {
//				$(this).trigger("blur");
			}
		});
	});

	_EsdDynamicTransformationScript.esd3TagNum3Content1.blur(function () {
		$(this).unbind("keydown.keydown3_s3");
	});



}


if(location.href=="http://gxt.jl.gov.cn/ggfw/"){
// 公共服务

// 导航后的第一个a
_EsdDynamicTransformationScript.esdNavTag1 = $(".main a:eq(0)");


// 导航之后的第一个a
_EsdDynamicTransformationScript.esdNavTag1.focus(function (e) {
	$(this).bind("keydown.keydown0_0", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			$(_EsdDynamicTransformationScript.nav6.focusObjSelector).mouseover();
			$(_EsdDynamicTransformationScript.nav6.listElementsSelector).last().focus();
			return false;
		}else if (e.keyCode == 9) {

		}
	});
});
_EsdDynamicTransformationScript.esdNavTag1.blur(function () {
	$(this).unbind("keydown.keydown0_0");
});


// 三级选项卡（一二都是外域iframe，只跳三---》不用代码，自然走就行）

	// 各个选项名称
	 _EsdDynamicTransformationScript.esd3TagNum0 = $(".bsfw_ly .wjfgbox .tit .hd ul li:eq(0) a");
	 _EsdDynamicTransformationScript.esd3TagNum1 = $(".bsfw_ly .wjfgbox .tit .hd ul li:eq(1) a");
	 _EsdDynamicTransformationScript.esd3TagNum2 = $(".bsfw_ly .wjfgbox .tit .hd ul li:eq(2) a");
	
	// 各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd3TagNum1Content0 = $(".bsfw_ly .wjfgbox .bd .slidebox:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".bsfw_ly .wjfgbox .bd .slidebox:eq(1) a:eq(0)");
	 _EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".bsfw_ly .wjfgbox .bd .slidebox:eq(2) a:eq(0)");
	
	// 各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd3TagNum0ContentN = $(".bsfw_ly .wjfgbox .bd .slidebox:eq(0) a:last");
	 _EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".bsfw_ly .wjfgbox .bd .slidebox:eq(1) a:last");
	 _EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".bsfw_ly .wjfgbox .bd .slidebox:eq(2) a:last");
	
		// 第一块
		_EsdDynamicTransformationScript.esd3TagNum0.focus(function (e) {
			$(this).bind("keydown.keydown3_0", function (e) {
				if(e.shiftKey&&e.keyCode==9){
	
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd3TagNum1.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd3TagNum0.blur(function () {
			$(this).unbind("keydown.keydown3_0");
		});
	 
		// 第二块
		_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {
			$(this).bind("keydown.keydown3_1", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					_EsdDynamicTransformationScript.esd3TagNum0.focus();
					return false;
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
					_EsdDynamicTransformationScript.esd3TagNum2.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
			$(this).unbind("keydown.keydown3_1");
		});
	 
		// 第三块
		_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
			$(this).bind("keydown.keydown3_1", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					_EsdDynamicTransformationScript.esd3TagNum1.focus();
					return false;
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
			$(this).unbind("keydown.keydown3_2");
		});
	 
		_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function (e) {
			$(this).bind("keydown.keydown3_1", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					_EsdDynamicTransformationScript.esd3TagNum2.focus();
					return false;
				}else if (e.keyCode == 9) {
					
				}
			});
		});
		_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
			$(this).unbind("keydown.keydown3_2");
		});
	 

}


if(location.href=="http://gxt.jl.gov.cn/xxgk/jgzn/" || location.href=="http://gxt.jl.gov.cn/hdjl/" || location.href=="http://gxt.jl.gov.cn/sjtb_1/" || location.href=="http://gxt.jl.gov.cn/gdtp/"){
// 导航的其它二级页


// 导航后的第一个a
_EsdDynamicTransformationScript.esdNavTag1 = $(".main a:eq(0)");

 
// 导航之后的第一个a
_EsdDynamicTransformationScript.esdNavTag1.focus(function (e) {
	$(this).bind("keydown.keydown0_0", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			$(_EsdDynamicTransformationScript.nav6.focusObjSelector).mouseover();
			$(_EsdDynamicTransformationScript.nav6.listElementsSelector).last().focus();
			return false;
		}else if (e.keyCode == 9) {

		}
	});
});
_EsdDynamicTransformationScript.esdNavTag1.blur(function () {
	$(this).unbind("keydown.keydown0_0");
});


}



if(location.href=="http://gxt.jl.gov.cn/hdjl/myqyts/"){
// 民营企业投诉信箱
	
	_EsdDynamicTransformationScript.slidePointIntervalts = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointIntervalts);
			
	var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
	$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"姓名",title:"姓名"});
	$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系电话",title:"联系电话"});
	$(inputIframe).find("#frmData input:eq(2)").attr({placeholder:"所属地区及企业名称",title:"所属地区及企业名称"});
	$(inputIframe).find("#frmData input:eq(3)").attr({placeholder:"电子邮箱",title:"电子邮箱"});
	$(inputIframe).find("#frmData input:eq(4)").attr({placeholder:"通迅地址",title:"通迅地址"});
	$(inputIframe).find("#frmData textarea").attr({placeholder:"投诉内容",title:"投诉内容"});
	
	$(inputIframe).find("#SubmitButton").attr("title","提交");	
	$(inputIframe).find("#ResetButton").attr("title","重置");	
	
		}
	}, 500);	
}	

if(location.href=="http://gxt.jl.gov.cn/hdjl/zxzxx/zxzx.html"){
// 在线咨询
	
	document.getElementsByClassName("xdTextBox")[0].title = "咨询人";
	document.getElementsByClassName("xdTextBox")[0].placeholder = "咨询人";
	document.getElementsByClassName("xdTextBox")[1].title = "联系电话";
	document.getElementsByClassName("xdTextBox")[1].placeholder = "联系电话";
	document.getElementsByClassName("xdTextBox")[2].title = "通讯地址";
	document.getElementsByClassName("xdTextBox")[2].placeholder = "通讯地址";
	document.getElementsByClassName("xdTextBox")[3].title = "电子邮箱";
	document.getElementsByClassName("xdTextBox")[3].placeholder = "电子邮箱";
	document.getElementsByClassName("xdTextBox")[4].title = "标题";
	document.getElementsByClassName("xdTextBox")[4].placeholder = "标题";
	document.getElementsByClassName("xdTextBox")[5].title = "咨询内容";
	document.getElementsByClassName("xdTextBox")[5].placeholder = "咨询内容";
	
	document.getElementById("SubmitButton").title = "提交";
	document.getElementById("ResetButton").title = "重置";

}	

if(location.href=="http://gxt.jl.gov.cn/hdjl/tzxx_1/tz/"){
// 厅长信箱
	var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
	var inputIframe1 = inputIframe.getElementsByTagName("iframe")[0].contentWindow.document;
	
	inputIframe1.getElementsByClassName("xdTextBox")[0].title = "标题";
	inputIframe1.getElementsByClassName("xdTextBox")[0].placeholder = "标题";
	inputIframe1.getElementsByClassName("xdTextBox")[1].title = "姓名";
	inputIframe1.getElementsByClassName("xdTextBox")[1].placeholder = "姓名";
	inputIframe1.getElementsByClassName("xdTextBox")[2].title = "联系电话";
	inputIframe1.getElementsByClassName("xdTextBox")[2].placeholder = "联系电话";
	inputIframe1.getElementsByClassName("xdTextBox")[3].title = "电子邮箱";
	inputIframe1.getElementsByClassName("xdTextBox")[3].placeholder = "电子邮箱";
	inputIframe1.getElementsByClassName("xdTextBox")[4].title = "通讯地址";
	inputIframe1.getElementsByClassName("xdTextBox")[4].placeholder = "通讯地址";
	inputIframe1.getElementsByClassName("xdRichTextBox")[0].title = "内容";
	inputIframe1.getElementsByClassName("xdRichTextBox")[0].placeholder = "内容";
	inputIframe1.getElementsByClassName("xdBehavior_Boolean")[0].title = "公开";
	inputIframe1.getElementsByClassName("xdBehavior_Boolean")[0].placeholder = "公开";
	inputIframe1.getElementsByClassName("xdBehavior_Boolean")[1].title = "不公开";
	inputIframe1.getElementsByClassName("xdBehavior_Boolean")[1].placeholder = "不公开";
	
	inputIframe1.getElementById("SubmitButton").title = "提交";
	inputIframe1.getElementById("ResetButton").title = "重置";

}	













